package com.haitonghop.controls;

import com.haitonghop.data.HaiBLMetalData;
import com.haitonghop.utils.sqllite.datasource.TopicHaiBlData;

public interface OnSaveComic {
	
	public static final int IMAGE_NOT_FOUND = -1;
	public static final int DB_NOT_FOUND = -2;
	public static final int CREATE_TOPIC_ERROR = -3;
	public static final int TOPIC_NAME_INVAILD = -4;
	public static final int DEFAULT_TOPIC_NOTFOUND = -5;
	public static final int INSERT_COMIC_ERROR = -6;
	public static final int TOPIC_NOTFOUND = -7;
	
	public void onError(int errorCode);
	public void onDone(HaiBLMetalData blMetalData,TopicHaiBlData haiBlData);
	public void onDoneWithNewTopic(HaiBLMetalData blMetalData,TopicHaiBlData haiBlData);
}
